package com.bofa.manager.domain.base;

public abstract class AbstractDomainTestBase {
	
	private String testCaseNo;
	private String category;
	private boolean isSucess;
	private String testStatus;
	

	public boolean isSucess() {
		return isSucess;
	}

	public void setSucess(boolean isSucess) {
		this.isSucess = isSucess;
	}

	public String getTestStatus() {
		String stringStatus = "FAILED";
		if(isSucess){
			stringStatus = "SUCESS";
		}
		setTestStatus(stringStatus);
		return testStatus;
	}

	public void setTestStatus(String testStatus) {
		this.testStatus = testStatus;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getTestCaseNo() {
		return testCaseNo;
	}

	public void setTestCaseNo(String testCaseNo) {
		this.testCaseNo = testCaseNo;
	}

	@Override
	public String toString() {
		return "AbstractDomainTestBase [testCaseNo=" + testCaseNo
				+ ", category=" + category + ", isSucess=" + isSucess
				+ ", testStatus=" + testStatus + "]";
	}
}
